<div id="contentwrapper" class="contentwrapper">
	<div class="contenttitle2">
		<h3>列表</h3>
	</div><!--contenttitle-->
	<button class="stdbtn upload" style="float: right;">新增</button>
	<table cellpadding="0" cellspacing="0" border="0" class="stdtable" >
	    <colgroup>
	        <col class="con0" />
	        <col class="con1" />
	        <col class="con0" />
	        <col class="con1" />
	        <col class="con0" />
	    </colgroup>
	    <thead>
	        <tr>
	            <th class="head0">流水号</th>
	            <th class="head1">名称</th>
	            <th class="head0">创建时间</th>
	            <th class="head1">操作</th>
	        </tr>
	    </thead>
	    <tbody>
	         <#list data.list as d>
		       	 <tr>
		            <td >${d.id}</td>
		            <td>${d.name}</td>
		            <td>${d.create_date}</td>
		            <td><button class="stdbtn deleteFile" data-id="${d.id}">删除</button>
		            	<#if d.type=="mp3">
		            		<button class="stdbtn mp3" data-id="${d.id}">播放</button>
		            	</#if>
		            </td>
		        </tr>
	       </#list>
	    </tbody>
	</table>
	<div class="dataTables_paginate paging_full_numbers" id="dyntable2_paginate">
		<span class="first paginate_button paginate_button_disabled" id="dyntable2_first">首页</span>
		<span class="previous paginate_button paginate_button_disabled" id="dyntable2_previous">Previous</span>
		<span>
			<#list 1..data.pageNumber as nmber>
				<span class="paginate_active">#{nmber}</span>
			</#list>
		</span>
		<span class="next paginate_button" id="dyntable2_next">Next</span>
		<span class="last paginate_button" id="dyntable2_last">Last</span>
	</div>
</div>

<script type="text/javascript" src="${request.contextPath}/public/js/custom/tables.js"></script>